package com.demo.bookstore.dao;

import com.demo.bookstore.bean.BookOrder;

import java.util.List;

/**
 * @author ddone
 * @date 2024/3/17-11:02
 */
public interface OrderDao {
    void addOrder(BookOrder bookOrder);

    int findOrderId(String orderNo);

    List<BookOrder> findOrderByUserId(int userId);
}
